import java.util.Scanner;
import java.util.Date;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date: 2024-01-11
 * Time:16:57
 */

public class test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x,y);
            System.out.println(data.getX() + data.getY());
        }
    }

}

class Data {
    private int x;
    private int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }
}




class Student {
    public String name = "Sugar";  //名字
    public String sex = "male";   //性别
    public int age = 21;      //年龄
    public static String classroom;  //上课的教室

    static {
        classroom = "C-502";
    }


    static {
        classroom = "C-501";
    }

    /*public Student(String name, String sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }*/

    public Student(String name) {
        this.name = name;
    }

    public void Print() {
        System.out.println(classroom);
    }

    public void Study() {
        System.out.println(name + "在学习");
    }

    public static void Sleep() {
        System.out.println("睡觉");
    }

    /*public void Print() {
        System.out.println(name);
        System.out.println(sex);
        System.out.println(age);
    }*/


    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                '}';
    }
}





class Test {

    public static void main(String[] args) {
        //Student student = new Student("ZhangSan");  //实例化一个对象
        /*Student student = new Student("Zhangsan");
        /*student.name = "Sugar";
        student.sex = "male";
        student.age = 21;*/
        //student.sleep();
        //student.Study();
        //student.Print();
        //student.Print();
    }
}